home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / powerb5.zip / P5UTL012.TIP < prev    next >
Text File  |  1993-06-01  |  2KB  |  55 lines

  1. My wife was annoyed that our AT compatible booted up with
  2. the 101-key keyboard's Num Lock turned on, so I wrote a
  3. DEBUG script to turn Num Lock off at boot time. You can do
  4. the same.
  5.  
  6. The secret is a DEBUG script called NUMLOCK.OFF, which
  7. contains two DEBUG commands:
  8.  
  9. E40:17 0
  10. Q
  11.  
  12. Once you've created the file, the command to turn off Num
  13. Lock is:
  14.  
  15. ---- BEGIN LISTING ----
  16. DEBUG < NUMLOCK.OFF > NUL
  17. ---- END LISTING ----
  18.  
  19. To be safe, it's a good idea to test the command from the
  20. DOS prompt before adding it to your AUTOEXEC.BAT file.
  21.  
  22. Douglas Miller
  23. Pendleton, Indiana
  24.  
  25. Editor's Note: This tip takes care of one of my pet peeves
  26. -- systems that insist on turning Num Lock on at boot time.
  27. Note, however, that while the technique works on the vast
  28. majority of current systems, it fails on a few -- mostly
  29. older PCs and XTs. And if it does work on an older PC, you
  30. may find that the program turns off Num Lock but leaves the
  31. light on -- after which the light is on when Num Lock is off
  32. and vice versa. But on most PC compatibles, this script is a
  33. simple and effective way to turn Num Lock off.
  34.  
  35. For your convenience, the file NUMLOCK.OFF is included on
  36. your PowerBase *.* Volume 5 diskette in the P5UTL directory;
  37. copy it to a convenient place on your hard disk if you plan
  38. to use it. The command you need to insert in AUTOEXEC.BAT
  39. can be exported to a text file using the PowerBase *.*
  40. Desktop's Alt-F command. (Don't save the output of the Alt-F
  41. command directly to your AUTOEXEC.BAT file, though, or
  42. you'll overwrite what's already there. Instead, save to a
  43. file with a different name and edit the command into your
  44. AUTOEXEC.BAT with your favorite text editor.) Also, remember
  45. to change the command to state the full pathname of the
  46. NUMLOCK.OFF file on your system.
  47.  
  48.  
  49. Title: No New Num Locks
  50. Category: UTL
  51. Issue Date: December, 1992
  52. Editor: Brett Glass
  53. Supplementary Files: P5UTL\NUMLOCK.OFF
  54. Filename: P5UTL012.TIP
  55.